﻿class NarcissisticNumbers

{

    static void Main()

    {

        for (int i = 100; i <= 999; i++)

        {

            int hundreds = i / 100;

            int tens = (i / 10) % 10;

            int units = i % 10;



            if (i == (hundreds * hundreds * hundreds + tens * tens * tens + units * units * units))

            {

                Console.WriteLine(i);

            }

        }

    }

}